<!-- 选择产品图 -->
<template>
	<uni-popup ref="pickerView" type="bottom" :zIndex="999" background-color="transparent" :safeArea="false">
		<view class="popup-view"></view>
	</uni-popup>
</template>

<script>
export default {
	name: "selectProductImg",
	props: {},
	data() {
		return {};
	},
	mounted() {},
	methods: {
		close() {
			this.$refs.pickerView.close();
		},
		open() {
			this.$refs.pickerView.open();
		},
		submit() {
			this.close();
		},
		change() {
			this.close();
		}
	}
};
</script>

<style lang="less" scoped>
.popup-view {
	width: 100%;
	min-height: 500rpx;
	background: #fff;
	border-radius: 24rpx 24rpx 0 0;
	padding: 30rpx 30rpx calc(180rpx + env(safe-area-inset-bottom) / 2) 30rpx;
	// border-radius: 24rpx 24rpx 0 0;
	// background: linear-gradient( 180deg, rgba(72,108,246,0.1) 0%, rgba(72,108,246,0) 100%);
}
</style>
